package com.yunji.common.model.params;

import com.yunji.common.base.PageDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import java.util.List;

/**
 * @Project: yunji-coffee
 * @Package: com.yunji.message.params
 * @Title: FeedbackParam
 * <p>
 * History:
 * Date                     Version     Author          Summary
 * ============================================================
 * 2024-10-30 11:44:17      V1.0        HuaAo       新建类
 */
@Data
public class FeedbackParam extends PageDTO {

    @ApiModelProperty("网点名称")
    @Length(message = "网点名称不能超过{max}个字符", max = 15)
    private String siteName;

    @ApiModelProperty("网点电话")
    @Length(message = "网点电话不能超过{max}个字符", max = 11)
    private String siteTel;

    @ApiModelProperty("代理名称")
    @Length(message = "代理名称不能超过{max}个字符", max = 15)
    private String agentName;

    @ApiModelProperty("代理电话")
    private String agentTel;

    @ApiModelProperty("处理状态Ids")
    private List<Integer> feedbackStatus;

    @ApiModelProperty("故障类型Ids")
    private List<Long> malfunctionIds;

    @ApiModelProperty("故障类型Id")
    private Long malfunctionId;

    @ApiModelProperty("搜索字段")
    private String searchField;

}